﻿namespace WMS6.Web.InventoryMgtServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="ReplenishmentQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough]
    public class ReplenishmentQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string FinalToLocField;
        [OptionalField]
        private string FromLocField;
        [OptionalField]
        private string IdMovedField;
        [OptionalField]
        private string LocMovedFromField;
        [OptionalField]
        private string LotField;
        [OptionalField]
        private string LotMovedField;
        [OptionalField]
        private string LpnIDField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string PackIDField;
        [OptionalField]
        private string PriorityField;
        [OptionalField]
        private string QtyField;
        [OptionalField]
        private string QtyInpickLocField;
        [OptionalField]
        private string QtyMovedField;
        [OptionalField]
        private string ReasonField;
        [OptionalField]
        private string ReplenishmentGroupField;
        [OptionalField]
        private string ReplenishmentIDField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string SkuIDField;
        [OptionalField]
        private string ToLocField;
        [OptionalField]
        private string ToLpnIDField;
        [OptionalField]
        private string UomIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string FinalToLoc
        {
            get
            {
                return this.FinalToLocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FinalToLocField, value))
                {
                    this.FinalToLocField = value;
                    base.RaisePropertyChanged("FinalToLoc");
                }
            }
        }

        [DataMember]
        public string FromLoc
        {
            get
            {
                return this.FromLocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FromLocField, value))
                {
                    this.FromLocField = value;
                    base.RaisePropertyChanged("FromLoc");
                }
            }
        }

        [DataMember]
        public string IdMoved
        {
            get
            {
                return this.IdMovedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IdMovedField, value))
                {
                    this.IdMovedField = value;
                    base.RaisePropertyChanged("IdMoved");
                }
            }
        }

        [DataMember]
        public string LocMovedFrom
        {
            get
            {
                return this.LocMovedFromField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocMovedFromField, value))
                {
                    this.LocMovedFromField = value;
                    base.RaisePropertyChanged("LocMovedFrom");
                }
            }
        }

        [DataMember]
        public string Lot
        {
            get
            {
                return this.LotField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotField, value))
                {
                    this.LotField = value;
                    base.RaisePropertyChanged("Lot");
                }
            }
        }

        [DataMember]
        public string LotMoved
        {
            get
            {
                return this.LotMovedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotMovedField, value))
                {
                    this.LotMovedField = value;
                    base.RaisePropertyChanged("LotMoved");
                }
            }
        }

        [DataMember]
        public string LpnID
        {
            get
            {
                return this.LpnIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LpnIDField, value))
                {
                    this.LpnIDField = value;
                    base.RaisePropertyChanged("LpnID");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string PackID
        {
            get
            {
                return this.PackIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PackIDField, value))
                {
                    this.PackIDField = value;
                    base.RaisePropertyChanged("PackID");
                }
            }
        }

        [DataMember]
        public string Priority
        {
            get
            {
                return this.PriorityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PriorityField, value))
                {
                    this.PriorityField = value;
                    base.RaisePropertyChanged("Priority");
                }
            }
        }

        [DataMember]
        public string Qty
        {
            get
            {
                return this.QtyField;
            }
            set
            {
                if (!object.ReferenceEquals(this.QtyField, value))
                {
                    this.QtyField = value;
                    base.RaisePropertyChanged("Qty");
                }
            }
        }

        [DataMember]
        public string QtyInpickLoc
        {
            get
            {
                return this.QtyInpickLocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.QtyInpickLocField, value))
                {
                    this.QtyInpickLocField = value;
                    base.RaisePropertyChanged("QtyInpickLoc");
                }
            }
        }

        [DataMember]
        public string QtyMoved
        {
            get
            {
                return this.QtyMovedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.QtyMovedField, value))
                {
                    this.QtyMovedField = value;
                    base.RaisePropertyChanged("QtyMoved");
                }
            }
        }

        [DataMember]
        public string Reason
        {
            get
            {
                return this.ReasonField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReasonField, value))
                {
                    this.ReasonField = value;
                    base.RaisePropertyChanged("Reason");
                }
            }
        }

        [DataMember]
        public string ReplenishmentGroup
        {
            get
            {
                return this.ReplenishmentGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReplenishmentGroupField, value))
                {
                    this.ReplenishmentGroupField = value;
                    base.RaisePropertyChanged("ReplenishmentGroup");
                }
            }
        }

        [DataMember]
        public string ReplenishmentID
        {
            get
            {
                return this.ReplenishmentIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReplenishmentIDField, value))
                {
                    this.ReplenishmentIDField = value;
                    base.RaisePropertyChanged("ReplenishmentID");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SkuID
        {
            get
            {
                return this.SkuIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuIDField, value))
                {
                    this.SkuIDField = value;
                    base.RaisePropertyChanged("SkuID");
                }
            }
        }

        [DataMember]
        public string ToLoc
        {
            get
            {
                return this.ToLocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ToLocField, value))
                {
                    this.ToLocField = value;
                    base.RaisePropertyChanged("ToLoc");
                }
            }
        }

        [DataMember]
        public string ToLpnID
        {
            get
            {
                return this.ToLpnIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ToLpnIDField, value))
                {
                    this.ToLpnIDField = value;
                    base.RaisePropertyChanged("ToLpnID");
                }
            }
        }

        [DataMember]
        public string UomID
        {
            get
            {
                return this.UomIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UomIDField, value))
                {
                    this.UomIDField = value;
                    base.RaisePropertyChanged("UomID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

